package net.bbtang.website.service.impl;

import java.util.Map;

import net.bbtang.website.mapper.UserAccountMapper;
import net.bbtang.website.pojo.UserAccountNoDTO;
import net.bbtang.website.service.UserAccountService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;




@Service("userAccountService")
public class UserAccountServiceImpl implements UserAccountService {
	
	@Autowired
	UserAccountMapper userAccountMapper;
	
	
	@Override
	public UserAccountNoDTO getUserAccount(Map<String, Object> map) {
		return userAccountMapper.getUserAccount(map);
	}
	@Override
	public int addUserAccount(UserAccountNoDTO userAccount) {
		return userAccountMapper.addUserAccount(userAccount);
	}
	@Override
	public void updateUserAccount(UserAccountNoDTO userAccount) {
		userAccountMapper.updateUserAccount(userAccount);
		
	}

	


	


}
